﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPaquetes.Infraestructure.Logging
{
    public class LogManager
    {
        private static ILoggerService LoggerInstance = null;
        public static void Configure(string LoggerName)
        {
            log4netConfigurator config = new log4netConfigurator();
            config.Configure();
            LoggerInstance = new Log4NetLoggerService(LoggerName);
        }

        public static ILoggerService Instance()
        {
            return LoggerInstance;
        }
    }
}
